import request from '@/request/api'
// 1、交接班配置-左-新建
export function addInfoLeft(data) {
  return request({
    url: '/eam-service-configure/dockingconf/addDockingconf',
    method: 'get',
    params: data
  })
}
// 2、交接班配置-左-删除
export function deleteInfoLeft(data) {
  return request({
    url: '/eam-service-configure/dockingconf/deleteById',
    method: "delete",
    params: data
  })
}
// 3、交接班配置-左-修改
export function updateInfoLeft(data) {
  return request({
    url: '/eam-service-configure/dockingconf/updateDockingconf',
    method: 'get',
    params: data
  })
}
// 4、交接班配置-左-查询列表
export function queryListLeft(data) {
  return request({
    url: '/eam-service-configure/dockingconf/queryList',
    method: 'get',
    params: data
  })
}
// 5、交接班配置-右-新建/修改
export function addInfoRight(data) {
  return request({
    url: '/eam-service-configure/tip/add',
    method: 'post',
    data: data
  })
}
// 6、交接班配置-右-删除
export function deleteInfoRight(data) {
  return request({
    url: '/eam-service-configure/tip',
    method: "delete",
    params: data
  })
}
// 7、交接班配置-右-查询详情
export function updateInfoRight(id = "") {
  return request({
    url: '/eam-service-configure/tip',
    method: 'get',
    params: {
      id
    }
  })
}
// 8、交接班配置-右-查询列表
export function queryListRight(dockingId = "") {
  return request({
    url: '/eam-service-configure/tip/list',
    method: 'get',
    params: {
      dockingId
    }
  })
}
// 9、交接班配置-右-插入
export function insertInfoRight(data) {
  return request({
    url: '/eam-service-configure/tip/insert',
    method: 'post',
    data: data
  })
}
// 10、交接班配置-左删除右
export function deleteRight(dockingId = "") {
  return request({
    url: '/eam-service-configure/tip/docking',
    method: "delete",
    params: {
      dockingId
    }
  })
}